<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<title>css多级菜单向右展开</title>
<style>
    * {
        margin: 0;
        padding: 0;
        text-decoration: none;
        list-style-type: none;
    }




    .nav2{
        display: none;
    }

    .li1:hover .nav2{
        display: block;
    }
</style>
<!--代码部分-->
<!--欢饮来到大峡谷-->
<body>
<div class="nav-wrapper">
    <ul class="nav1">
        <li class="li1">
            <a href="#" id="AAA">一成</a>
            <ul class="nav2">
                <li class="li2"><a href="#">轮子妈</a></li>
                <li class="li2"><a href="#">维克托</a></li>
            </ul>
        </li>
    </ul>
</div>
</body>
</html>